﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace NJL.Web.Controls
{
    public partial class UCenterHeader : BaseUserControl
    {
        public string companyId;
        NJL.BLL.NJL_COMPANY bllCompany = new BLL.NJL_COMPANY();
        NJL.Model.NJL_COMPANY modelCompany;
        protected void Page_Load(object sender, EventArgs e)
        {  
            
            modelCompany = bllCompany.GetCompanyByUserIDModel(UserId);
            if (modelCompany != null)
            {
              companyId = modelCompany.ID;
            }
        }
    }
}